package day10;

import day9.java86.Pet;

/**
 * @author oldliu
 * @since 1.0
 */
public class Tiger extends Pet {
    public Tiger() {
    }

    @Override
    public void run() {
        System.out.println("老虎在用狂奔");
    }

    public Tiger(String name, String sex,int age) {
        super(name, sex);
        super.age=age;
    }
}
